package com.bff.bjj.ui;

/**
 * Represents a change in the status of a SlimServer music player.
 * @author Bill Findeisen
 */
public class LAFChangeEvent extends java.util.EventObject {
    private int id;
    private String lafClassName;
    public static final int LAF_CHANGED = 0;
    
    /**
     * Creates a new instance of PlayerChangeEvent
     * @param source the object on which the Event initially occurred
     * @param id the specific event that occurred
     * @param msg an optional message
     */
    public LAFChangeEvent(Object source, int id, String lafClassName) {
        super(source);
        this.id = id;
        this.lafClassName = lafClassName;
    }

    /**
     * Returns specific id of the event that occurred.  The ids are public static
     * fields in the class.
     * @return the specific id
     */
    public int getId() {
        return (id);
    }

    /**
     * @return the lafClassName
     */
    public String getLafClassName() {
        return lafClassName;
    }

    /**
     * @param lafClassName the lafClassName to set
     */
    public void setLafClassName(String lafClassName) {
        this.lafClassName = lafClassName;
    }
}
